home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19990422-19990725
/
000057_news@watsun.cc.columbia.edu _Wed May 12 09:49:27 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@watsun.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA19354
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 12 May 1999 09:49:27 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA03230
for kermit.misc@watsun.cc.columbia.edu; Wed, 12 May 1999 09:36:23 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: Re: Auto Connecting?
Date: 12 May 1999 13:36:22 GMT
Organization: Columbia University
Message-ID: <7hc04m$34s$1@newsmaster.cc.columbia.edu>
To: kermit.misc@watsun.cc.columbia.edu
In article <7hbohv$s2e$1@nnrp1.deja.com>,
<john_cosimano@my-dejanews.com> wrote:
: I guess it should be easy enough, but my Using C-Kermit doesn't seem to
: cover it. I'm interested in having kermit autoconnect. In other words,
: at the [/tmp] C-Kermit> prompt, I would like a 'c' to issued
: automatically.
:
Connect to what automatically? First you have to set up the connection,
for example:
set host blah
or:
set modem type xxx
set port yyy
set speed zzz
dial nnnnnn
: The autoconnection script in the book seem to be for automating dialup stuff.
:
Each of the more common types of connections (modem dialing, Telnet) includes
an "autoconnect" feature anyway:
. TELNET <hostname> enters CONNECT mode automatically if the TCP/IP TELNET
connection is made successfully.
. RLOGIN <hostname> enters CONNECT mode automatically if the TCP/IP RLOGIN
connection is made successfully.
. DIAL <phonenumber> enters CONNECT mode automatically if the call is
answered and the DIAL command was given at top level. If you tell Kermit
to SET DIAL CONNECT ON, then DIAL always CONNECTs if the phone is answered,
even if the DIAL command is given from a script.
Other connection types can be handled with a macro. For example, X.25:
define X25CONNECT {
set network type x25
if fail stop 1 X.25 connections are not available
set host \%1
if fail stop 1 Can't make connection to \%1
connect
}
- Frank